package cn.edu.ujn.lab3.dao;

import java.util.List;


public interface BaseDictMapper {
    int deleteByPrimaryKey(String dictId);

    int insert(BaseDict row);

    int insertSelective(BaseDict row);

    BaseDict selectByPrimaryKey(String dictId);

    int updateByPrimaryKeySelective(BaseDict row);

    int updateByPrimaryKey(BaseDict row);
    // 根据类别代码查询数据字典
    public List<BaseDict> selectBaseDictByTypeCode(String typecode);
    
    // 查询所有字典类目代码和类别名称并去重
    List<BaseDict> selectAllTypeCodeAndTypeName();
    
    // 列表
    List<BaseDict> selectBaseDictList(BaseDict baseDict);

    // 数量
    Integer selectBaseDictListCount(BaseDict baseDict);

}